using System;
using System.Collections;

using System.Diagnostics;



namespace CStock
{
    /// <summary>
    /// Summary description for IPortfolios.
    /// </summary>
    public interface IPortfolios : IStockObjectCollection
    {
        IDataClass GetShareByID(string name);

        bool RemoveDataItem(IDataItem myDataItem);
        bool AddDataItem(IDataItem myDataItem);

        new IPortfolio this[int index] { get;set;}
        new IPortfolio this[string myID] { get;}

        IDataItem GetDataItemByID(string myId);
        IDataClass GetDataClassByID(string myId);

        int IndexOf(object obj);
        int Evaluate_NumberOfShares();
        double Evaluate_Shares_Money();
        double Evaluate_Shares_Money(DateTime date);
        
        bool Create_TestData();
        bool Create_Default();
        bool Create_TestData(double moneyEconomy, int number, int numberOfShareValues);

      
        //	event ChangedEventHandler Changed;

    }
}
